anthropic

Anthropic: Claude Sonnet 4.5

models/Claude Sonnet 4.5

Claude Sonnet 4.5 is Anthropic's most advanced Sonnet model to date, optimized for real world agents and coding workflows. It delivers state of the art performance on coding benchmarks such as SWE bench Verified, with improvements across system design, code security, and specification adherence. The model is designed for extended autonomous operation, maintaining task continuity across sessions and providing fact based progress tracking. Sonnet 4.5 also introduces stronger agentic capabilities, including improved tool orchestration, speculative parallel execution, and more efficient context and memory management. With enhanced context tracking and awareness of token usage across tool calls, it is particularly well suited for multi context and long running workflows. Use cases span software engineering, cybersecurity, financial analysis, research agents, and other domains requiring sustained reasoning and tool use.
Currency$USD
Input$3.00
Output$15.00
Context window1M

Generate API Key Generate your API Key to securely access IndoxHub's AI models. Integrate with OpenAI-compatible tools, run queries, and build powerful AI applications — all with a single secure key.
Endpoint
POSThttps://api.indoxhub.com/api/v1/chat/completions
Configanthropic/claude-sonnet-4.5
from indoxhub import Client
 
# Initialize the client
with Client(api_key="[LOGIN TO GET API KEY]") as client:
    # Generate a chat completion
    response = client.chat(
        messages=[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What is machine learning and why is it important?"}],
        model="anthropic/claude-sonnet-4.5",
        temperature:"0.7"
    )
 
    # Print the response
    print(response["data"])